i am working on a plugin to add youtube videos...

It work but tag

dont appear at editor... i try add some CSS style but no success.. If some one has interesting to work with me, i will appreciate... thanks

Comments

hedac’s picture

pedrofaria’s picture

Assigned: Unassigned » pedrofaria
Status: Active » Needs review
StatusFileSize
new2.33 KB

Thanks hedac...

this url solve my problem...

Now this plugin are working and needing reviews...

If some one can test it too i appreciate.

Thanks

hedac’s picture

nice ! I'm glad I could help. it is working perfectly here... after I realized I had to move the png to the assets folder... in the editor it is shown a gray area that represents the video.
one problem is that I can't delete it after inserted.
to be perfect it would be awesome if it could display an image of the thumbnail of the video. embeded media field project can display images from youtube videos. But as it is now it is working and thank you very much because I was looking for it.

pedrofaria’s picture

I made some tests and it is possible... but drupal filter block url on style and broke after save the post...

I delete the item without problem.

cya

hedac’s picture

I have noticed that sometimes I have to select it 2 times or delete it twice... first deletion deletes a blank line after the block.... and next ... it deletes the block.
not a big problem...

onepartscissors’s picture

Hi Guys

Sorry, but I can't figure out how to implement this button, i've tried to put it in various locations, but i can't seem to figure out how to have the editor call the button - please help!